<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="/resources/common/font.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<center>
<table width="800" border="1" cellspacing="0" cellpadding="4" bordercolordark="white" bordercolorlight="black">
	<c:forEach items="${userInfo}" var="userInfo">
	<tr>
		<td width="100" height="20" bgcolor="#CCCCCC" align="center">ID</td>
		<td width="300" height="20" bgcolor="#EEEEEE">${userInfo.user_id}</td>
	</tr>
	<tr>
		<td width="100" height="20" bgcolor="#CCCCCC" align="center">성별</td>
		<td width="300" height="20" bgcolor="#EEEEEE"><c:if test="${userInfo.sex==1}">남</c:if>
													  <c:if test="${userInfo.sex==0}">여</c:if></td>
	</tr>
	<tr>
		<td width="100" height="20" bgcolor="#CCCCCC" align="center">이름</td>
		<td width="300" height="20" bgcolor="#EEEEEE">${userInfo.name}</td>
	</tr>
	<tr>
		<td width="100" height="20" bgcolor="#CCCCCC" align="center">핸드폰</td>
		<td width="300" height="20" bgcolor="#EEEEEE">${userInfo.phone}</td>
	</tr>
	<tr>
		<td width="100" height="20" bgcolor="#CCCCCC" align="center">이메일</td>
		<td width="300" height="20" bgcolor="#EEEEEE">${userInfo.email}</td>
	</tr>
	<tr>
		<td width="100" height="20" bgcolor="#CCCCCC" align="center">우편번호</td>
		<td width="300" height="20" bgcolor="#EEEEEE">${userInfo.postcode}</td>
	</tr>
	<tr>
		<td width="100" height="20" bgcolor="#CCCCCC" align="center">주소</td>
		<td width="300" height="20" bgcolor="#EEEEEE">${userInfo.address}</td>
	</tr>
	</c:forEach>
</table>
<table width="800" border="0" cellspacing="0" cellpadding="7">
	<tr> 
		<td align="center">
			<input type="button" value="이 전 화 면" onClick="javascript:history.back();">&nbsp
			<input type="button" value="프린트" onClick="javascript:print();">
		</td>
	</tr>
</table>
</center>

</body>
</html>